from django.conf.urls.defaults import patterns, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('myweb.default.views',
    # Examples:
    # url(r'^$', 'myweb.views.home', name='home'),
    # url(r'^myweb/', include('myweb.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
    url(r'^$', 'index'),
    url(r'^index.html$', 'index'),
    url(r'^about.html$', 'about', {'page':'about'}),
    url(r'^about/(?P<page>\w+).html', 'about'),
)

urlpatterns += patterns('django.contrib.auth.views',
    url(r'^member/login$', 'login', {'template_name':'login.html'}),
    url(r'^member/logout$','logout'),
    )
    
urlpatterns += patterns('myweb.members.views',
    url(r'^member/register$', 'register'),
    url(r'^member/interest$', 'interest'),
    url(r'^member/home$', 'home'),
    )


